/*
 * Copyright (c) 2017 Solidwang. All Rights Reserved
 */
package com.solid4j.auth.service;

import com.solid4j.auth.model.Menu;

import java.util.List;

/**
 * @author: solidwang
 * @date: 17/5/4
 * 菜单接口
 */
public interface MenuService {

    Integer save(Menu menu);

    List<Menu> getMenus();

    List<Menu> getMenuListByParentId(Integer parentId);

    Menu get(Integer id);

    void update(Menu menu);

    void delete(Menu menu);
}
